//This test is used with test_add.cpp as inputs.
//add wp that have same flags and is both front and back adjacent with other.(merge)
3
100
200
w
300
400
w
201
299
w